type golang.org/x/exp/apidiff.differ
26 uses
golang.org/x/exp/apidiff (current package)
apidiff.go#L107: type differ struct {
apidiff.go#L120: func newDiffer(old, new *types.Package) *differ {
apidiff.go#L121: return &differ{
apidiff.go#L129: func (d *differ) incompatible(obj objectWithSide, part, format string, args ...interface{}) {
apidiff.go#L133: func (d *differ) compatible(obj objectWithSide, part, format string, args ...interface{}) {
apidiff.go#L141: func (d *differ) checkPackage(oldRootPackagePath string) {
apidiff.go#L238: func (d *differ) checkObjects(old, new types.Object) {
apidiff.go#L275: func (d *differ) constChanges(old, new *types.Const) {
apidiff.go#L305: func (d *differ) checkCorrespondence(obj objectWithSide, part string, old, new types.Type) {
apidiff.go#L311: func (d *differ) typeChanged(obj objectWithSide, part string, old, new types.Type) {
compatibility.go#L9: func (d *differ) checkCompatible(otn *types.TypeName, old, new types.Type) {
compatibility.go#L47: func (d *differ) checkCompatibleChan(otn *types.TypeName, old, new *types.Chan) {
compatibility.go#L58: func (d *differ) checkCompatibleBasic(otn *types.TypeName, old, new *types.Basic) {
compatibility.go#L111: func (d *differ) checkCompatibleInterface(otn *types.TypeName, old, new *types.Interface) {
compatibility.go#L153: func (d *differ) checkCompatibleStruct(obj objectWithSide, old, new *types.Struct) {
compatibility.go#L245: func (d *differ) checkCompatibleObjectSets(obj objectWithSide, old, new map[string]types.Object) {
compatibility.go#L261: func (d *differ) checkCompatibleDefined(otn *types.TypeName, old *types.Named, new types.Type) {
compatibility.go#L284: func (d *differ) checkMethodSet(otn *types.TypeName, oldt, newt types.Type, addcompat bool) {
correspondence.go#L17: func (d *differ) correspond(old, new types.Type) bool {
correspondence.go#L29: func (d *differ) corr(old, new types.Type, p *ifacePair) bool {
correspondence.go#L144: func (d *differ) corrFieldNames(of, nf *types.Var) bool {
correspondence.go#L161: func (d *differ) establishCorrespondence(old *types.Named, new types.Type) bool {
correspondence.go#L247: func (d *differ) typeListsCorrespond(tl1, tl2 *types.TypeList) bool {
correspondence.go#L261: func (d *differ) typeParamListsCorrespond(tps1, tps2 *types.TypeParamList) bool {
correspondence.go#L273: func (d *differ) sortedMethods(iface *types.Interface) []*types.Func {
correspondence.go#L282: func (d *differ) methodID(m *types.Func) string {